package com.campus.constant;

import lombok.Data;

/**
 * @author TaiZai
 * @data 2024/11/12 11:33
 */
public class AIChatConstant {

    public static class Path {
        public static final String CHAT_COMPLETIONS = "/chat/completions";
    }

    public static class Model {
        public static final String GPT_3_5_TURBO = "gpt-3.5-turbo";
        public static final String GPT_4 = "gpt-4";
        public static final String GPT_4_TURBO = "gpt-4-turbo";
        public static final String GPT_4o = "gpt-4o";
        public static final String GPT_4o_MINI = "gpt-4o-mini";
    }

    public static class Chat {
        public static final String CHAT_ASSISTANT_HINT = "你是一个对话助手，你需要详细解释用户的问题。此外，无需回复" +
                "[{\"role\":\"assistant\",\"content\":\"你好！有什么可以帮到你的吗？\"}]的格式，而是直接回复content的内容，如果你的回复消息中存在代码" +
                "块，则必须用```指定的语言和代码来表示。";

        public static final String TITLE_ASSISTANT_HINT = "我需要你根据下面这段对话数据生成一个合适的标题，标题字数在10到20字，" +
                "注意，你只需要输出标题即可，无需输出其他内容。";
    }

    public static class Header {
        public static final String JSON_CONTENT_TYPE = "application/json";
        public static final String AUTHORIZATION_HEADER = "Authorization";
        public static final String BEARER = "Bearer ";
        public static final String CONTENT_TYPE = "Content-Type";
    }
}
